home *** CD-ROM | disk | FTP | other *** search
/ Apple Developer Connection 1998 Fall: Game Toolkit / Disc.iso / SDKs / PCI Driver Development Kit / • Samples / Driver Samples / Video samples / GDX 950717 / GDX / GraphicsCore.h < prev    next >
Encoding:
C/C++ Source or Header  |  1996-08-20  |  1.0 KB  |  36 lines  |  [TEXT/MPS ]

  1. /*
  2.     File:        GraphicsCore.h
  3.  
  4.     Contains:    Function declarations of the 'Core' graphics routines.
  5.  
  6.     Written by:    Sean Williams, Kevin Williams
  7.  
  8.     Copyright:    © 1994-1995 by Apple Computer, Inc., all rights reserved.
  9.  
  10.     Change History (most recent first):
  11.  
  12.          <1>     4/15/95    SW        First Checked In
  13.  
  14. */
  15.  
  16. #ifndef __GRAPHICSCORE__
  17. #define __GRAPHICSCORE__
  18.  
  19. #include <Devices.h>
  20. #include <Types.h>
  21. #include <Files.h>                    // CntrlParam
  22. #include <Kernel.h>                    // AddressSpaceID
  23.  
  24. // Declarations for GraphicsCore routines.
  25. OSErr GraphicsInitialize(DriverRefNum refNum, const RegEntryID *regEntryID, const AddressSpaceID spaceID);
  26. OSErr GraphicsReplace(DriverRefNum refNum, const RegEntryID *regEntryID, const AddressSpaceID spaceID);
  27. OSErr GraphicsOpen(void);
  28. OSErr GraphicsClose(void);
  29. OSErr GraphicsControl(CntrlParam *pb);
  30. OSErr GraphicsStatus(CntrlParam    *pb);
  31. OSErr GraphicsFinalize(DriverRefNum refNum, const RegEntryID *regEntryID);
  32. OSErr GraphicsSupersede(DriverRefNum refNum, const RegEntryID* regEntryID);
  33.  
  34.  
  35. #endif    // __GRAPHICSCORE__
  36.